//
//  XZBaseNetwork.h
//  XZNetworking
//
//  Created by Tony on 2016/11/30.
//  Copyright © 2016年 Tony. All rights reserved.
//

#import <Foundation/Foundation.h>
typedef void(^SuccessBlock) (id success);
typedef void(^FailureBlock) (id failure);
@interface XZBaseNetwork : NSObject <NSCopying,NSMutableCopying>

+ (instancetype)shareInstance; /**<初始化>*/
- (void)startWithGetURL:(NSString *)url params:(NSDictionary *)params success:(SuccessBlock)successBase failure:(FailureBlock)failureBase; /**< Get*/
- (void)startWithPostURL:(NSString *)url params:(NSDictionary *)params success:(SuccessBlock)successBase failure:(FailureBlock)failureBase; /**< Post*/




@end
